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

body {
    background: #92d1e0;
    min-height: 100vh;
    color: #2D3142;
    overflow-x: hidden;
    width: 420px;
    min-width: 420px;
} /* jhb ij j klj   mmm jnjip ijb  */

.container {
    width: 100%;
    padding: 1.25rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 20px 60px rgba(255, 133, 82, 0.15);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    text-align: center;
    margin-bottom: 1.25rem;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

input[type="text"] {
    width: 100%;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border: 3px solid #f0f0f0;
    border-radius: 14px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus {
    border-color: #7189ff;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(113, 137, 255, 0.12);
}

.btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #7189ff, #6baeff);
    color: #fff;
    box-shadow: 0 8px 24px rgba(113, 137, 255, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: #fff;
    color: #7189ff;
    border: 3px solid #7189ff;
}

.btn-secondary:hover {
    background: #7189ff;
    color: #fff;
    transform: translateY(-2px);
}

.progress-bar {
    height: 10px;
    background: #f0f0f0;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ECDC4, #5f6fff);
    border-radius: 12px;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 1.25rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.question {
    animation: fadeIn 0.4s ease-out;
}

.question-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.1rem;
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.option {
    padding: 0.9rem 1.2rem;
    background: #fafafa;
    border: 3px solid #f0f0f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    position: relative;
}

.option:hover {
    border-color: #7189ff;
    background: #fff;
    transform: translateX(6px);
}

.option.selected {
    border-color: #7189ff;
    background: rgba(113, 137, 255, 0.08);
    font-weight: 600;
}

.option::before {
    content: '';
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 3px solid #ddd;
    border-radius: 50%;
    transition: all 0.2s;
}

.option.selected::before {
    border-color: #7189ff;
    background: #7189ff;
    box-shadow: inset 0 0 0 3px #fff;
}

.option-text {
    margin-left: 2.2rem;
}

.result-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.result-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.breed-name {
    color: #7189ff;
}

.confidence {
    display: inline-block;
    background: rgba(113, 137, 255, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    color: #7189ff;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.breed-description {
    background: #f9fffe;
    padding: 1.1rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #444;
}

.breed-traits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.traits {
    background: #fafafa;
    padding: 0.85rem;
    border-radius: 14px;
    text-align: center;
    border: 2px solid #f0f0f0;
}

.traits-label {
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 0.2rem;
}

.traits-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.alternatives {
    margin-bottom: 1.5rem;
}

.alternatives-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.alt-breed {
    background: #fafafa;
    padding: 0.85rem 1.2rem;
    border-radius: 14px;
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alt-breed-name {
    font-weight: 600;
}

.alt-confindence {
    font-size: 0.85rem;
    color: #6B7280;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
}

.action-buttons .btn {
    flex: 1;
}

.hidden {
    display: none;
}