/* Modern Admin Settings Layout */

.cloudi7-icg-settings-wrap {
    max-width: 1200px;
    margin: 20px 0;
}

/* Page Header */
.cloudi7-icg-settings-header {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.cloudi7-icg-settings-header h1 {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1e293b;
}

.cloudi7-icg-settings-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

/* Grid Layout */
.cloudi7-icg-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 960px) {
    .cloudi7-icg-settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Settings Card Style */
.cloudi7-icg-settings-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.cloudi7-icg-settings-card h2 {
    margin: 0 0 25px 0 !important;
    padding: 0 0 15px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo Upload Area */
.cloudi7-icg-logo-upload-container {
    margin-bottom: 25px;
}

.cloudi7-icg-logo-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cloudi7-icg-logo-upload-box:hover {
    border-color: #2271b1;
    background: #f1f5f9;
}

.cloudi7-icg-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #64748b;
}

.cloudi7-icg-logo-placeholder .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #94a3b8;
}

.cloudi7-icg-logo-preview-modern {
    margin-bottom: 20px;
}

.cloudi7-icg-logo-preview-modern img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff;
    padding: 10px;
}

/* Field Styling */
.cloudi7-icg-setting-field {
    margin-bottom: 25px;
}

.cloudi7-icg-setting-field:last-child {
    margin-bottom: 0;
}

.cloudi7-icg-setting-field label {
    display: block !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

.cloudi7-icg-setting-field input[type="text"],
.cloudi7-icg-setting-field input[type="email"],
.cloudi7-icg-setting-field input[type="url"],
.cloudi7-icg-setting-field textarea,
.cloudi7-icg-setting-field select {
    width: 100% !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    margin: 0 !important;
}

.cloudi7-icg-setting-field input:focus,
.cloudi7-icg-setting-field textarea:focus,
.cloudi7-icg-setting-field select:focus {
    border-color: #2271b1 !important;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1) !important;
}

.cloudi7-icg-setting-field textarea {
    min-height: 80px;
}

/* Save Button Footer */
.cloudi7-icg-settings-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.cloudi7-icg-save-button {
    min-width: 160px !important;
    height: 48px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
}

/* Dashicons vertical align */
.cloudi7-icg-settings-card h2 .dashicons {
    margin-top: 2px;
    color: #2271b1;
}
