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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #10b981;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px 30px;
    margin-bottom: 20px;
}

.emoji {
    font-size: 64px;
    text-align: center;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
}

h1 {
    color: #1f2937;
    font-size: 28px;
    text-align: center;
    margin-bottom: 15px;
}

h3 {
    color: #374151;
    font-size: 16px;
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 20px;
}

.success-badge {
    background: #10b981;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin: 0 auto 25px;
    font-weight: 600;
    font-size: 14px;
    display: block;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.error-message {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box {
    background: #d1fae5;
    border-left: 4px solid #10b981;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.info-box p {
    color: #065f46;
    margin: 5px 0;
}

.info-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.info-item .label {
    color: #6b7280;
    font-weight: 600;
}

.info-item .value {
    color: #1f2937;
    font-weight: 500;
}

.instructions {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.instructions ol {
    margin-left: 20px;
    color: #374151;
}

.instructions li {
    margin: 8px 0;
}

/* Настройки */
.settings-group {
    margin: 25px 0;
}

.setting-item {
    background: #f3f4f6;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.setting-item.clickable {
    cursor: pointer;
}

.setting-item.clickable:hover {
    background: #e5e7eb;
    transform: translateX(5px);
}

.setting-item span {
    color: #1f2937;
    font-weight: 500;
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: .3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #10b981;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Кнопки */
.button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #0d9668;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4);
}

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

.btn-secondary:hover {
    background: #0d9668;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    color: white;
    font-size: 14px;
    margin-top: 20px;
    opacity: 0.9;
}

.footer p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 500px) {
    .card {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .emoji {
        font-size: 48px;
    }
    
    .button-grid {
        grid-template-columns: 1fr;
    }
}
