/*
Theme Name: Navjivan Children Hospital
Theme URI: https://navjivanchildrenhospital.com/
Author: Navjivan Children Hospital
Author URI: https://navjivanchildrenhospital.com/
Description: A modern, lightweight Tailwind CSS WordPress theme for Navjivan Children Hospital.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: navjivan
*/

.custom-logo {
    display: block;
    width: auto;
    height: 81px;
    max-width: 240px;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 768px) {
    .custom-logo {
        height: 42px;
        max-width: 190px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .custom-logo {
        height: 38px;
        max-width: 170px;
    }
}

.hospital-form-label {
    display: block;
    margin-bottom: 20px;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
}

.hospital-form-input,
.hospital-form-textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hospital-form-input:focus,
.hospital-form-textarea:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.hospital-form-textarea {
    min-height: 150px;
    resize: vertical;
}

.hospital-form-submit {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    background: #16a34a;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hospital-form-submit:hover {
    background: #15803d;
}

.hospital-form-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

@layer components {
    .hospital-form-label {
        @apply block mb-5 text-sm font-medium text-gray-700;
    }

    .hospital-form-input {
        @apply w-full mt-2 px-4 py-3 border border-gray-300 rounded-lg bg-white text-gray-900;
        @apply placeholder:text-gray-400;
        @apply focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-green-500;
    }

    .hospital-form-textarea {
        @apply w-full mt-2 px-4 py-3 border border-gray-300 rounded-lg bg-white text-gray-900;
        @apply placeholder:text-gray-400 min-h-36 resize-y;
        @apply focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-green-500;
    }

    .hospital-form-submit {
        @apply inline-block px-6 py-3 bg-green-600 text-white font-semibold rounded-lg cursor-pointer;
        @apply hover:bg-green-700 transition-colors;
    }
}