.mikeanor-signature-form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.form-section {
    margin-bottom: 35px;
    padding: 25px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-section:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.title-section {
    text-align: center;
    background: #f8f9fa;
    border: none;
    padding: 20px;
    margin-bottom: 40px;
}

.title-section h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.content-section {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

.checklist-section h3,
.text-fields-section h3,
.select-fields-section h3,
.signature-section h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.checklist-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}

.checklist-item:hover {
    background: #f0f0f0;
    border-color: #ddd;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.checklist-item label {
    flex: 1;
    margin: 0;
    cursor: pointer;
    font-size: 15px;
    color: #444;
}

/* Text Fields Styles */
.text-fields-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text-field-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.text-field-item label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 15px;
    margin: 0;
}

.text-field-item .required {
    color: #dc3232;
    font-weight: bold;
    margin-left: 3px;
}

.text-field-item input[type="text"] {
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.text-field-item input[type="text"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.text-field-item input[type="text"]:required {
    border-left: 4px solid #dc3232;
}

/* Select Fields Styles */
.select-fields-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.select-field-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.select-field-item label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 15px;
    margin: 0;
}

.select-field-item .required {
    color: #dc3232;
    font-weight: bold;
    margin-left: 3px;
}

.select-field-item select {
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.select-field-item select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.select-field-item select:required {
    border-left: 4px solid #dc3232;
}

.signature-pad-container {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
}

#signature-pad {
    width: 100%;
    height: 200px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.signature-controls {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.signature-controls button {
    margin: 0 5px;
}

.submit-section {
    text-align: center;
    background: none;
    border: none;
    padding: 0;
    margin-top: 40px;
}

#submit-signature {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#submit-signature:hover {
    background: #005177;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#submit-signature:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mikeanor-signature-form-container {
        margin: 20px;
        padding: 20px;
    }

    .form-section {
        padding: 20px;
        margin-bottom: 25px;
    }

    .title-section h2 {
        font-size: 24px;
    }

    #signature-pad {
        height: 150px;
    }

    #submit-signature {
        padding: 12px 30px;
        font-size: 15px;
    }

    .text-field-item input[type="text"],
    .select-field-item select {
        padding: 10px 12px;
        font-size: 14px;
    }

    .text-field-item label,
    .select-field-item label {
        font-size: 14px;
    }
}

/* Signature Buttons Styles */
.mikeanor-signature-buttons {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.signature-buttons-header {
    margin-bottom: 15px;
}

.signature-buttons-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 500;
}

.signature-buttons-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.signature-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.signature-button i {
    font-size: 18px;
}

.signature-button-primary {
    background: #0073aa;
    color: #fff;
}

.signature-button-primary:hover {
    background: #005177;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.signature-button-secondary {
    background: #f8f9fa;
    color: #444;
    border: 1px solid #ddd;
}

.signature-button-secondary:hover {
    background: #e9ecef;
    border-color: #ccc;
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Signature Popup Styles */
.signature-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    overflow-y: auto;
}

.signature-popup-content {
    position: relative;
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 900px;
    border-radius: 6px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.signature-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.signature-popup-close:hover {
    color: #333;
}

.signature-popup h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.signature-loading {
    text-align: center;
    padding: 40px 0;
}

.signature-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #3a7cff;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.os-signatures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.os-signature-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.os-signature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.os-signature-header {
    background-color: #f7f9fc;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.os-signature-header-main h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.os-signature-date {
    font-size: 13px;
    color: #777;
}

.os-signature-content {
    padding: 20px 15px;
}

.os-signature-image {
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 15px;
}

.os-signature-image img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

.os-signature-checklist {
    margin-top: 20px;
}

.os-signature-checklist h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.os-signature-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.os-signature-checklist li {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.os-signature-checklist li:last-child {
    border-bottom: none;
}

.os-signature-checklist .status-icon {
    margin-right: 10px;
    font-weight: bold;
}

.os-signature-checklist li.checked {
    color: #46b450;
}

.os-signature-checklist li.unchecked {
    color: #dc3232;
}

.os-signature-checklist .item-text {
    flex: 1;
}

@media (max-width: 768px) {
    .signature-popup-content {
        width: 95%;
        padding: 20px 15px;
        margin: 30px auto;
    }
    
    .os-signatures-grid {
        grid-template-columns: 1fr;
    }
    
    .os-signature-header {
        padding: 12px;
    }
    
    .os-signature-content {
        padding: 15px 12px;
    }
}

/* Signature Pad - Desktop */
@media screen and (min-width: 768px) {
    .signature-pad {
        width: 750px !important;
        height: 250px !important;
        max-width: 100%;
        display: block;
        margin: 0 auto;
        background-color: #fff;
    }
}

/* Signature Pad - Mobile */
@media screen and (max-width: 767px) {
    .signature-pad {
        width: 250px !important;
        height: 350px !important;
        max-width: 100%;
        display: block;
        margin: 0 auto;
        background-color: #fff;
    }
} 