/* Styles cho forms */

.dau-gia-form-wrapper {
    display: flex;
    min-height: 100vh;
    background: #fff;align-items: center;
}

.dau-gia-form-container {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #fff;
	max-height:80vh;
	overflow-y: auto;
}

@media (min-width: 1200px) {
    .dau-gia-form-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .dau-gia-form-container {
        padding: 80px 60px;
    }
}

.dau-gia-form-container h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.dau-gia-form-subtitle {
    margin-bottom: 30px;
    color: #666;
    font-size: 14px;
}

.dau-gia-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
}

.dau-gia-tabs .dau-gia-tab {
    flex: 1;
    padding: 6px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;margin-bottom:0px;text-transform:inherit;
}

.dau-gia-tab-icon {
    font-size: 20px;
}

.dau-gia-tab:hover {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.dau-gia-tab.active {
    background: #c62828;
    color: #fff;
    font-weight: bold;
}

.dau-gia-tab-content {
    display: none;
}

.dau-gia-tab-content.active {
    display: block;
}

.dau-gia-form-group {
    margin-bottom: 20px;position:relative;
}

.dau-gia-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #0a0a0a;
    position: absolute;
    font-size: 12px;
    z-index: 10;
    top: -10px;
    background: #fff;
    padding: 3px 5px;
    left: 5px;
}

.dau-gia-form-group .required {
    color: #f44336;
}

.dau-gia-form-group input[type="text"],
.dau-gia-form-group input[type="email"],
.dau-gia-form-group input[type="tel"],
.dau-gia-form-group input[type="password"],
.dau-gia-form-group input[type="date"],
.dau-gia-form-group select,
.dau-gia-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
	min-height:48px;
	box-shadow: unset;
}

.dau-gia-form-group input[type="text"]:focus,
.dau-gia-form-group input[type="email"]:focus,
.dau-gia-form-group input[type="tel"]:focus,
.dau-gia-form-group input[type="password"]:focus {
    border-color: #c62828;
    outline: none;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.dau-gia-password-wrapper {
    position: relative;
}

.dau-gia-password-wrapper input {
    padding-right: 45px;
}

.dau-gia-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.dau-gia-toggle-password:hover {
    opacity: 1;
}

.dau-gia-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.dau-gia-form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.dau-gia-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}
.dau-gia-form-group label.dau-gia-checkbox-label{position:relative} 
.dau-gia-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.dau-gia-checkbox-label span {
    line-height: 1.5;
    color: #333;
}

.dau-gia-form-message {
    margin-bottom: 20px;
}

.dau-gia-form-message .notice-success,
.dau-gia-form-message .notice-error {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.dau-gia-form-message .notice-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.dau-gia-form-message .notice-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.dau-gia-form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
	font-size:16px;
}
.duongdan-wrapper{    display: flex;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;}
.divset{height: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;}
.dau-gia-form-footer a {
    color: #f44336;
    text-decoration: none;
}

.dau-gia-form-footer a:hover {
    text-decoration: underline;
}

.dau-gia-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.dau-gia-btn-primary {
    background: #c62828;
    color: #fff;
}

.dau-gia-btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.dau-gia-account-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.dau-gia-account-sidebar {
    width: 25%;
    flex-shrink: 0;
}

.dau-gia-account-profile {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dau-gia-account-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.dau-gia-account-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.dau-gia-edit-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #c62828;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.dau-gia-account-greeting {
    text-align: center;
    margin-bottom: 20px;
}

.dau-gia-account-greeting p {
    margin: 0 0 5px;
    color: #666;
    font-size: 14px;
}

.dau-gia-account-greeting h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.dau-gia-account-type-btn {
   width: fit-content;
   margin-left:auto;
   margin-right:auto;
    padding: 5px 12px;
    background: #eff6ff;
    color: #2b7fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.dau-gia-account-type-btn span{margin-bottom:0}

.dau-gia-account-info {
    font-size: 14px;
    color: #666;
	border-top:1px solid #e5e5e5;
	border-bottom:1px solid #e5e5e5;
}

.dau-gia-account-info p {
    margin: 8px 0;
    line-height: 1.6;
}

.dau-gia-account-info strong {
    color: #333;
    font-weight: 600;
}


.dau-gia-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 16px;
    margin-bottom: 5px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
	
}
.dangxuat.dau-gia-nav-item{border-top:1px dashed #e5e5e5;padding-top:20px}
.dau-gia-nav-item:hover {
    background: #802623;
}

.dau-gia-nav-item.active {
    background: #802623;
    color: #fff;
}

.dau-gia-nav-icon {
    font-size: 18px;
}

.dau-gia-account-content {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dau-gia-account-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.dau-gia-account-header h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dau-gia-header-icon {
    font-size: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    width: 44px;
    height: 44px;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.dau-gia-account-subtitle {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.dau-gia-form-section {
    margin-bottom: 40px;
}

.dau-gia-section-title {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dau-gia-section-icon {
    font-size: 20px;
}

.dau-gia-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.dau-gia-form-row .dau-gia-form-group:only-child {
    grid-column: 1 / -1;
}

.dau-gia-account-content .dau-gia-form-group {
    margin-bottom: 0;
}

.dau-gia-account-content .dau-gia-form-group label {
    position: static;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: transparent;
    padding: 0;
}

.dau-gia-account-content .dau-gia-form-group input[type="text"],
.dau-gia-account-content .dau-gia-form-group input[type="email"],
.dau-gia-account-content .dau-gia-form-group input[type="tel"],
.dau-gia-account-content .dau-gia-form-group input[type="date"],
.dau-gia-account-content .dau-gia-form-group select,
.dau-gia-account-content .dau-gia-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
    min-height: 48px;
}

.dau-gia-account-content .dau-gia-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.dau-gia-account-content .dau-gia-form-group input:focus,
.dau-gia-account-content .dau-gia-form-group select:focus,
.dau-gia-account-content .dau-gia-form-group textarea:focus {
    border-color: #c62828;
    outline: none;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.dau-gia-account-content .dau-gia-form-group input:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.dau-gia-upload-group {
    grid-column: 1 / -1;
}

.dau-gia-upload-group small {
    display: block;
    margin-bottom: 10px;
    color: #666;
    font-size: 12px;
}

.dau-gia-upload-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.dau-gia-upload-box {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s;
    cursor: pointer;
}

.dau-gia-upload-box:hover {
    border-color: #c62828;
    background: #fff5f5;
}

.dau-gia-upload-box-single {
    max-width: 500px;
}

.dau-gia-upload-label {
    display: block;
    cursor: pointer;
}

.dau-gia-upload-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.dau-gia-upload-text {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.dau-gia-upload-hint {
    display: block;
    font-size: 12px;
    color: #666;
}

.dau-gia-upload-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.dau-gia-upload-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dau-gia-account-content .dau-gia-btn {
    max-width: 300px;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .dau-gia-account-wrapper {
        flex-direction: column;
    }

    .dau-gia-account-sidebar {
        width: 100%;
    }

    .dau-gia-account-profile {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .dau-gia-account-avatar {
        margin: 0;
        flex-shrink: 0;
    }

    .dau-gia-account-greeting {
        text-align: left;
        flex: 1;
    }

    .dau-gia-account-nav {
        display: flex;
        gap: 10px;
        padding: 10px;
    }

    .dau-gia-nav-item {
        flex: 1;
        justify-content: center;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .dau-gia-form-wrapper {
        display: block;
    }
    
    .dau-gia-form-container {
        padding: 40px 20px;
    }

    .dau-gia-account-wrapper {
        padding: 20px 10px;
    }

    .dau-gia-account-content {
        padding: 20px;
    }

    .dau-gia-form-row {
        grid-template-columns: 1fr;
    }

    .dau-gia-upload-boxes {
        grid-template-columns: 1fr;
    }

    .dau-gia-account-profile {
        flex-direction: column;
        text-align: center;
    }

    .dau-gia-account-greeting {
        text-align: center;
    }

    .dau-gia-account-nav {
        flex-direction: column;
    }
}


