/* Style EarthKingdoms pour le système de commande NPCs */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #1e1e1e;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar - Style EarthKingdoms */
.navbar {
    background-color: #111;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.nav-brand {
    font-size: 22px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand i {
    color: #EC9600;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #E53C00;
}

/* Hero Section */
.hero {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 100px 0 60px 0;
    text-align: center;
    backdrop-filter: blur(3px);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ccc;
}

/* Main Content */
.main-content {
    background-color: #1e1e1e;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 60px;
}

.pricing-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.pricing-card {
    background-color: #2c2c2c;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.pricing-card.selected {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(236, 150, 0, 0.5);
    border: 2px solid #EC9600;
}

.pricing-card.featured {
    border: 2px solid #EC9600;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(#EC9600, #E53C00);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.pricing-header {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #EC9600 0%, #E53C00 100%);
    color: white;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price {
    font-size: 36px;
    font-weight: bold;
}

.pricing-body {
    padding: 30px 20px;
}

.pricing-body ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-body ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    border-bottom: 1px solid #3a3a3a;
}

.pricing-body ul li:last-child {
    border-bottom: none;
}

.pricing-body ul li i {
    color: #4CAF50;
    font-size: 18px;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(#EC9600, #E53C00);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background-color: #444;
    color: white;
}

.btn-secondary:hover {
    background-color: #555;
}

.btn-success {
    background: linear-gradient(#4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

/* Form */
.order-form-section {
    margin-top: 60px;
}

.order-form-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: white;
}

.form-card {
    background-color: #2c2c2c;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.form-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-card h3 i {
    color: #EC9600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #EC9600;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 16px;
    background-color: #333;
    color: white;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #EC9600;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #aaa;
    font-size: 14px;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border: 2px dashed #444;
    border-radius: 8px;
    background-color: #333;
    cursor: pointer;
    transition: all 0.3s;
    color: #ccc;
}

.file-label:hover {
    border-color: #EC9600;
    background-color: #3a3a3a;
}

.file-label i {
    font-size: 24px;
    color: #EC9600;
}

.file-info {
    margin-top: 8px;
    color: #4CAF50;
    font-weight: 500;
}

/* Range Input */
input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #444;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(#EC9600, #E53C00);
    cursor: pointer;
}

.inp[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(#EC9600, #E53C00);
    cursor: pointer;
    border: none;
}

.range-value {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    font-size: 18px;
    color: #EC9600;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Result Card */
.result-card {
    text-align: center;
    padding: 60px 40px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 800px;
    background-color: #2c2c2c;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.result-card.success {
    border: 2px solid #4CAF50;
}

.result-card.error {
    border: 2px solid #E53C00;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.result-card.success .result-icon {
    color: #4CAF50;
}

.result-card.error .result-icon {
    color: #E53C00;
}

.result-card h2 {
    margin-bottom: 20px;
    color: white;
    font-size: 32px;
}

.order-info {
    background-color: #333;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.order-info p {
    padding: 10px 0;
    border-bottom: 1px solid #444;
    color: #ccc;
}

.order-info p:last-child {
    border-bottom: none;
}

.order-info strong {
    color: white;
}

.info-text {
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(236, 150, 0, 0.1);
    border-radius: 8px;
    color: #EC9600;
    border-left: 4px solid #EC9600;
}

.error-list {
    background-color: #333;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.error-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: rgba(229, 60, 0, 0.1);
    border-radius: 6px;
    color: #E53C00;
    border-left: 4px solid #E53C00;
}

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

/* Footer */
.footer {
    background-color: #111;
    text-align: center;
    padding: 17px;
    font-size: 14px;
    margin-top: 60px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 24px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #EC9600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 40px 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .navbar .container {
        padding: 0 20px;
    }
}
