/* Prescription Page Styles */
.prescription-section {
    padding: 60px 0;
    background-color: var(--light-blue);
}

.prescription-options {
    margin-top: 30px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 39, 118, 0.1);
    border: none;
    margin-bottom: 30px;
}

.card-header {
    background-color: var(--brazil-blue);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px 20px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.card-header i {
    margin-right: 10px;
}

.file-upload-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.file-upload-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 2px dashed var(--medium-gray);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.file-upload-label:hover {
    border-color: var(--brazil-blue);
    background-color: rgba(0, 39, 118, 0.05);
}

.file-upload-label i {
    font-size: 2.5rem;
    color: var(--brazil-blue);
    margin-bottom: 10px;
}

.file-upload-preview {
    margin-top: 15px;
    display: none;
}

.file-upload-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.delivery-option {
    margin: 25px 0;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-button {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.radio-button input {
    position: absolute;
    opacity: 0;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid var(--medium-gray);
    border-radius: 50%;
}

.radio-button:hover .radio-checkmark {
    border-color: var(--brazil-blue);
}

.radio-button input:checked ~ .radio-checkmark {
    border-color: var(--brazil-blue);
    background-color: var(--brazil-blue);
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-button input:checked ~ .radio-checkmark:after {
    display: block;
}

.radio-button .radio-checkmark:after {
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.map-container {
    margin-top: 15px;
}

#prescriptionMap {
    height: 300px;
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

.map-search {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#mapSearch {
    flex-grow: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-icon {
    background-color: var(--light-blue);
    color: var(--brazil-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--brazil-blue);
    margin-bottom: 5px;
}

.login-required {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
}

.auth-buttons {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .map-search {
        flex-direction: column;
    }
    
    .map-search input, 
    .map-search button {
        width: 100%;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-buttons a {
        width: 100%;
    }
}