/* wc-ajax-cancellation/assets/css/cancellation.css */

.wc-cancellation-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    font-family: inherit;
}

.wc-cancellation-form-group {
    margin-bottom: 20px;
}

.wc-cancellation-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333333;
    font-size: 14px;
}

.wc-cancellation-form-group label .required {
    color: #e2401c;
}

.wc-cancellation-form-group input[type="text"],
.wc-cancellation-form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.wc-cancellation-form-group input[type="text"]:focus,
.wc-cancellation-form-group input[type="email"]:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 1px #007cba;
}

.wc-cancellation-help-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #777777;
}

.wc-cancellation-submit-group {
    margin-top: 30px;
    margin-bottom: 0;
}

.wc-cancellation-submit {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background-color: #d9534f;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.wc-cancellation-submit:hover {
    background-color: #c9302c;
}

.wc-cancellation-submit:disabled {
    background-color: #e09d9b;
    cursor: not-allowed;
}

/* Messages */
.wc-cancellation-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.wc-cancellation-message.wc-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.wc-cancellation-message.wc-error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}
