/**
 * CSS styles for the tag renewal modal
 */

/* Modal overlay */
.tag-renewal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal container */
.tag-renewal-modal {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    padding: 0;
    overflow: hidden;
}

/* Modal header */
.tag-renewal-modal-header {
    background-color: #f5f5f5;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-renewal-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.tag-renewal-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.tag-renewal-modal-close:hover {
    color: #333;
}

/* Modal body */
.tag-renewal-modal-body {
    padding: 20px;
}

/* Form elements */
#tag-renewal-form {
    margin-top: 20px;
}

#tag-renewal-form .form-row {
    margin-bottom: 20px;
}

#tag-renewal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

#card-element {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    background-color: #f9f9f9;
}

#card-errors {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
}

/* Submit button */
#tag-renewal-submit {
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

#tag-renewal-submit:hover {
    background-color: #005a87;
}

#tag-renewal-submit:disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* Success message */
.tag-renewal-success {
    text-align: center;
    padding: 20px 0;
}

.tag-renewal-success-icon {
    width: 60px;
    height: 60px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 36px;
    line-height: 60px;
    margin: 0 auto 20px;
}

/* Renew tag button in tag list */
.renew-tag-button {
    display: inline-block;
    padding: 6px 12px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.renew-tag-button:hover {
    background-color: #005a87;
    color: white;
} 