/* namha-online-kundli/style.css */
.nk-kundli-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #f8f5f2; /* Light background from your site */
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Language Toggle */
.nk-lang-toggle {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9e1d8;
    padding-bottom: 15px;
}
.nk-lang-btn {
    padding: 8px 20px;
    margin-left: 10px;
    border: 1px solid #b38b6d; /* Primary brown from your site */
    background: #fff;
    color: #b38b6d;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nk-lang-btn.active {
    background: #b38b6d;
    color: #fff;
}
.nk-lang-btn:hover {
    background: #a87c5a;
    color: #fff;
}

/* Typography */
.nk-title {
    color: #2a4d3c; /* Dark green accent from your site */
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2em;
}
.nk-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* Form Styles */
#nk-kundli-form {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9e1d8;
}
.nk-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}
.nk-form-group {
    flex: 1;
    min-width: 250px;
}
.nk-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}
.nk-form-group input[type="text"],
.nk-form-group input[type="date"],
.nk-form-group input[type="time"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border 0.3s;
}
.nk-form-group input:focus {
    border-color: #b38b6d;
    outline: none;
    box-shadow: 0 0 0 2px rgba(179, 139, 109, 0.2);
}
.nk-radio-group {
    display: flex;
    gap: 25px;
    margin-top: 10px;
}
.nk-radio-group label {
    font-weight: normal;
    cursor: pointer;
}
small {
    display: block;
    margin-top: 6px;
    color: #888;
    font-size: 0.9em;
}

/* City Suggestions Box */
.nk-city-suggest-container {
    position: relative;
    width: 100%;
}
.nk-suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #b38b6d;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.nk-suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.nk-suggestion-item:hover {
    background-color: #f8f5f2;
    color: #b38b6d;
}

/* Submit Button */
.nk-submit-btn {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(to right, #2a4d3c, #3a6d52); /* Green gradient from your site */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    letter-spacing: 0.5px;
}
.nk-submit-btn:hover {
    background: linear-gradient(to right, #1e3b2d, #2a5c40);
    transform: translateY(-2px);
}

/* Results Area */
#nk-results-container {
    margin-top: 30px;
}
.nk-loading {
    text-align: center;
    padding: 30px;
    font-size: 1.2em;
    color: #b38b6d;
    background: #fff;
    border-radius: 8px;
    border: 1px dashed #b38b6d;
}