/**
 * Public Styles for Universal ID Card Generator
 */
.cloudi7-icg-verification-wrap {
    max-width: 800px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.cloudi7-icg-verify-form {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.cloudi7-icg-verify-form h3 {
    margin-top: 0;
    color: #333;
}

.cloudi7-icg-form-group {
    display: flex;
    gap: 10px;
}

.cloudi7-icg-form-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cloudi7-icg-btn {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.cloudi7-icg-btn:hover {
    background: #005177;
}

.cloudi7-icg-error {
    background: #fff0f0;
    border: 1px solid #ff4d4d;
    color: #d63638;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.cloudi7-icg-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cloudi7-icg-result-header h4 {
    margin: 0;
    color: #2c3338;
}

.cloudi7-icg-card-actions {
    display: flex;
    gap: 10px;
}

.cloudi7-icg-btn-print, .cloudi7-icg-btn-download {
    background: #2271b1;
    font-size: 13px;
}

@media (max-width: 600px) {
    .cloudi7-icg-form-group {
        flex-direction: column;
    }
    
    .cloudi7-icg-btn {
        width: 100%;
    }

    .cloudi7-icg-result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cloudi7-icg-card-actions {
        width: 100%;
    }

    .cloudi7-icg-card-actions .cloudi7-icg-btn {
        flex: 1;
        font-size: 11px;
        padding: 8px 10px;
    }
}


/* Verification result specific styles */
.cloudi7-icg-verification-result {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cloudi7-icg-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #065f46;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #a7f3d0;
}

.cloudi7-icg-status-badge .dashicons {
    color: #10b981;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Dropdown styling */
.cloudi7-icg-dropdown {
    position: relative;
    display: inline-block;
}

.cloudi7-icg-btn-download-main {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.cloudi7-icg-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #ffffff;
    min-width: 240px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-top: 8px;
    overflow: hidden;
}

.cloudi7-icg-dropdown:hover .cloudi7-icg-dropdown-content {
    display: block;
}

.cloudi7-icg-dropdown-content a {
    color: #1e293b;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: background 0.2s;
}

.cloudi7-icg-dropdown-content a:hover {
    background-color: #f8fafc;
    color: #2563eb;
}

.cloudi7-icg-dropdown-content .cloudi7-icg-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

.cloudi7-icg-dropdown-content a.cloudi7-icg-highlight {
    background-color: #eff6ff;
    font-weight: 600;
}

.cloudi7-icg-dropdown-content a .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #64748b;
}

.cloudi7-icg-dropdown-content a:hover .dashicons {
    color: #2563eb;
}

/* Improved Preview Layout */
.cloudi7-icg-card-preview-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
}

.cloudi7-icg-card-downloadable {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.cloudi7-icg-card-front-wrap, .cloudi7-icg-card-back-wrap {
    transition: transform 0.3s;
}

.cloudi7-icg-card-front-wrap:hover, .cloudi7-icg-card-back-wrap:hover {
    transform: scale(1.02);
}

.spin {
    animation: spin 1s linear infinite;
}

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

@media (max-width: 600px) {
    .cloudi7-icg-status-badge {
        width: 100%;
        justify-content: center;
    }
    
    .cloudi7-icg-dropdown, .cloudi7-icg-btn-download-main {
        width: 100%;
    }
}

