* {
    box-sizing: border-box;
}

:root {
    --bg-color: #f7f9fc;
    --text-color: #333;
    --card-bg: #fff;
    --input-bg: #f0f2f5;
    --input-border: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --primary-color: #F75934;
    --secondary-color: #ffd200;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
}

.logo-main {
    max-width: 300px;
    height: auto;
}

.form-container {
    max-width: 600px;
    width: 95%;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    background-color: var(--card-bg);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.mode-description {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

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

input[type="text"] {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(247, 89, 52, 0.2);
}

.config-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.config-card h4 {
    margin-top: 0;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.config-row {
    margin: 12px 0;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.config-row strong {
    color: #555;
    min-width: 150px;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #777;
    margin-top: 30px;
}

/* ========================= */
/* BACK BUTTON               */
/* ========================= */
.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-family: inherit;
    background: linear-gradient(135deg, #F75934 0%, #FF8E2B 100%);
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(247, 89, 52, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 89, 52, 0.3);
    color: #fff;
}

@media (max-width: 600px) {
    .back-btn {
        position: static;
        margin-bottom: 20px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .logo-main {
        max-width: 200px;
    }
    
    .config-row {
        flex-direction: column;
        gap: 2px;
    }
}
