.klass-admin-wrap {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    max-width: 1200px;
}

/* Header Section */
.klass-admin-header {
    background: linear-gradient(135deg, #bf1f2f 0%, #103453 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.klass-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.klass-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: white;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.klass-header-text h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: white;
}

.klass-subtitle {
    margin: 5px 0 0 0;
    font-size: 16px;
    opacity: 0.9;
    color: white;
}

/* Main Content */
.klass-admin-content {
    display: grid;
    gap: 25px;
    max-width: 1200px;
}

/* Settings Cards */
.klass-settings-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.klass-settings-card:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.klass-card-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: #fafbfc;
}

.klass-card-header h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.klass-card-header h2 .dashicons {
    color: #bf1f2f;
    font-size: 20px;
}

.klass-card-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* Form Styles */
.klass-form {
    padding: 30px;
}

.klass-form-group {
    margin-bottom: 25px;
}

.klass-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.klass-label .dashicons {
    color: #bf1f2f;
    font-size: 20px;
}

.klass-input {
    width: 100%;
    max-width: 500px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.klass-input:focus {
    outline: none;
    border-color: #bf1f2f;
    box-shadow: 0 0 0 3px rgba(191, 31, 47, 0.1);
}

.klass-input::placeholder {
    color: #9ca3af;
}

.klass-description {
    margin: 8px 0 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.klass-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.klass-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.klass-btn-primary {
    background: linear-gradient(135deg, #bf1f2f 0%, #103453 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(191, 31, 47, 0.3);
}

.klass-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(191, 31, 47, 0.4);
}

.klass-btn .dashicons {
    font-size: 20px;
}

/* Message Styling */
.klass-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 10px 30px;
    font-weight: 500;
    font-size: 14px;
    display: none;
    position: relative;
}

.klass-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.klass-message.error {
    background: #fee2e2;
    color: #bf1f2f;
    border: 1px solid #fca5a5;
    box-shadow: 0 2px 8px rgba(191, 31, 47, 0.1);
}

/* Shortcode Styles */
.klass-shortcode-list {
    padding: 30px;
}

.klass-shortcode-item {
    margin-bottom: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.klass-shortcode-item:last-child {
    margin-bottom: 0;
}

.klass-shortcode-code {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.klass-shortcode-code code {
    background: #1f2937;
    color: #f9fafb;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    font-weight: 500;
}

.klass-copy-btn {
    background: #bf1f2f;
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.klass-copy-btn:hover {
    background: #103453;
}

.klass-copy-btn .dashicons {
    font-size: 18px;
}

.klass-shortcode-desc {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

/* Info Card */
.klass-info-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #bae6fd;
}

.klass-info-content {
    padding: 30px;
}

.klass-info-content p {
    margin: 0 0 20px 0;
    color: #374151;
    line-height: 1.6;
}

.klass-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.klass-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    color: #bf1f2f;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.klass-link:hover {
    background: #bf1f2f;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(191, 31, 47, 0.3);
}

.klass-link .dashicons {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .klass-admin-header {
        padding: 20px;
    }
    
    .klass-logo-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .klass-header-text h1 {
        font-size: 24px;
    }
    
    .klass-form {
        padding: 20px;
    }
    
    .klass-input {
        max-width: 100%;
    }
    
    .klass-links {
        flex-direction: column;
    }
    
    .klass-link {
        justify-content: center;
    }
}

/* Copy functionality feedback */
.klass-copy-btn.copied {
    background: #10b981;
}

.klass-copy-btn.copied::after {
    content: "Copied!";
    position: absolute;
    background: #1f2937;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
