/* Custom styles for the school registration page */

/* File upload styling */
input[type="file"] {
    display: block;
    padding: 8px 10px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 5px;
    border: 1px dashed var(--primary-color);
    cursor: pointer;
    width: 100%;
    margin: 5px 0;
    color: white;
}

input[type="file"]:hover {
    background: rgba(138, 43, 226, 0.2);
}

input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    padding: 8px 16px;
    margin-right: 10px;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background: #7021bd;
}

.form-hint {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
    margin-bottom: 10px;
}

/* Image preview styles */
.image-preview {
    max-width: 200px;
    height: 100px;
    margin-top: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 4px;
    display: none;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.logo-preview-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.remove-logo-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 12px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.remove-logo-btn:hover {
    background: #d32f2f;
}

.upload-status {
    margin: 5px 0;
    font-size: 0.9em;
    padding: 5px;
    border-radius: 4px;
    display: none;
}

.upload-status.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
    display: block;
}

.upload-status.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
    display: block;
}

.upload-status.loading {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid #FFC107;
    display: block;
}

/* Logo benefits section */
.logo-benefits {
    margin-top: 10px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-left: 3px solid var(--primary-color);
    background-color: rgba(138, 43, 226, 0.05);
    border-radius: 0 4px 4px 0;
}
