﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
/*    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

h1 {
    color: #333;
    text-align: center;
}

.button-container {
    text-align: center;
    margin: 20px 0;
}

.btn-add-img {
    display: inline-flex;
    gap: 0.3rem;
    padding: 1rem;
    background-color: #05cca4;
    color: white;
    border: none;
    border-radius:12px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

    .btn-add-img:hover {
        background-color: #07a082;
        transform:scale(1.05);
        transition: .1s ease-in-out;
    }

.previewImg {
    max-width: 100%;
    height: auto;
    display: none;
    margin: 20px auto;
    border: 1px solid #ddd;
}

.section {
    margin-top: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
    font-size:14px;
}

.apple-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}
}

.apple-select {
    width: 100%!important;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-sizing: border-box;
}
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-sizing: border-box;
}

#genderSelect:hover {
    cursor: pointer;
}

#loadingScreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loadingText {
    color: white;
    font-size: 18px;
    text-align: center;
}

#message {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.field-status {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
}

    .field-status.valid {
        background-color: #2ecc71;
    }

    .field-status.invalid {
        background-color: #e74c3c;
    }

.valid-field {
    border-color: #2ecc71 !important;
    background-color: #d5f4e6;
}

.invalid-field {
    border-color: #e74c3c !important;
    background-color: #fadbd8;
}

.sharpness-info {
    text-align: center;
    margin: 10px 0;
    font-style: italic;
    color: #666;
    display:none;
}
#progressContainer {
    width: 80%;
    height: 20px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

#progressBar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #81c784);
    border-radius: 10px;
    transition: width 0.6s ease; /* animație smooth */
}


.top-info-message{
    background-color:#9df1e0;
    border-radius:12px;
    padding:1rem;
    color:#044135;
    width:20%; 
    display:flex;
    justify-content:center;
}
.progress-info{
    background-color:#fff;
    border-radius:28px;
    padding:0.5rem 1rem 0.5rem 1rem;
}