/*
 * AgroSync - Login Stylesheet - Versiune Completă
 */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600&family=Outfit:wght@300;400;500;600&display=swap');

.agrosync-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
    font-family: 'Figtree', sans-serif;
}

.agrosync-login-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.agrosync-login-card:hover {
    box-shadow: 0 20px 40px -10px rgba(56, 176, 0, 0.15);
    border-color: #e2e8f0;
}

.agrosync-login-header {
    text-align: center;
    margin-bottom: 35px;
}

.agrosync-login-header h3 {
    margin-bottom: 5px;
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    color: #1F2937;
    font-weight: 500;
}

.agrosync-login-header p {
    color: #64748b;
    margin: 0;
    font-size: 1rem;
}

.agrosync-form-group {
    margin-bottom: 20px;
    position: relative;
}

/* Etichete */
.agrosync-form-group label {
    font-family: 'Figtree', sans-serif;
    font-weight: 500;
    color: #64748b;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 8px;
}

.agrosync-input-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

/* Iconitele (user si lock) */
.agrosync-input-wrapper i,
.agrosync-input-wrapper svg {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    color: #64748b !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    z-index: 10;
}

/* Input-urile */
.agrosync-input-wrapper input {
    width: 100% !important;
    padding: 16px 16px 16px 48px !important;
    margin: 0 !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    color: #1F2937 !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block !important;
    height: 52px !important;
}

.agrosync-input-wrapper input:focus {
    border-color: #38b000 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(56, 176, 0, 0.1);
}

.agrosync-input-wrapper input:focus + i,
.agrosync-input-wrapper input:focus + svg {
    color: #38b000 !important;
}

.agrosync-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.agrosync-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-transform: none;
    font-size: 0.9rem;
    margin: 0;
    color: #64748b;
}

.agrosync-checkbox-label input {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #38b000;
}

.agrosync-login-btn {
    width: 100% !important;
    padding: 16px !important;
    background: #38b000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.agrosync-login-btn:hover {
    background: #2da100 !important;
    transform: scale(1.01);
}

.agrosync-login-error {
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    border: 1px solid rgba(225, 29, 72, 0.2);
}