/* Navigation Area CSS */
.custom-navigation {
	background: #f4f4f4;
	padding: 20px;
	border-radius: 10px;
	font-family: "Open Sans", serif;
}
.user-info {
	text-align: center;
	padding-bottom: 20px;
	border-bottom: 1px solid #dddddd;
	margin-bottom: 20px;
}
.user-info img {
	border-radius: 50%;
	margin-bottom: 10px;
}
.user-info h3 {
	margin: 10px 0 5px 0;
	color: #1f3b4d;
}
.user-email {
	font-size: 12px;
	color: #1f3b4d;
	margin: 0;
}
.custom-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.custom-navigation li {
	margin-bottom: 5px;
}
.custom-navigation li a {
	display: block;
	padding: 12px 15px;
	color: #1f3b4d;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s;
}
.custom-navigation li a:hover,
.custom-navigation li.is-active a {
	background: #fff;
	color: #7fafcc;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
	
/* Dashboard Area CSS */	
.custom-dashboard {
	padding: 20px;
	font-family: "Open Sans", serif;
}
.customer-info {
	background: #f4f4f4;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
}
.account-statistics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}
.stat-box {
	background: #f4f4f4;
	padding: 20px;
	text-align: center;
	border-radius: 8px;
}
.stat-box h3 {
	color: #222222;
	font-size: 32px;
	margin: 0 0 10px 0;
}
.stat-box p {
	color: #777777;
	margin: 0;
}
.infos {
    font-size: 15px;
    line-height: 1.4;
}
.infos a {
    letter-spacing: 0;
    color: #7fafcc;
    border: 0;
    padding: 0;
}
.infos a:hover {
    background: transparent;
    color: #1f3b4d;
}

/* Confirmation Area CSS */
.simple-confirmation {
    max-width: 500px;
    margin: 60px auto;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
}
.simple-confirmation h2 {
    color: #1f3b4d;
    margin-bottom: 20px;
    font-size: 24px;
}
.confirmation-message {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 25px;
}
.delay-note {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 30px;
}
.delay-note small {
    color: #6c757d;
}
@media (max-width: 600px) {
    .simple-confirmation {
        margin: 20px;
        padding: 30px 20px;
    }
}

/* My Address Area CSS */
.minimalist-addresses {
    max-width: 800px;
    margin: 0 auto;
}
.minimalist-addresses > h2 {
    font-size: 28px;
    color: #1f3b4d;
    margin-bottom: 30px;
    padding-bottom: 15px;
}
.address-block {
    background: white;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}
.address-block:hover {
    border-color: #dddddd;
}
.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dddddd;
}
.address-header h3 {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
}
.edit-link {
    color: #1f3b4d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.edit-link:hover {
    color: #7fafcc;
}
.address-content address {
    font-style: normal;
    line-height: 1.8;
    color: #555;
}
.empty-text {
    color: #999;
    font-style: italic;
    margin-bottom: 15px;
}
@media (max-width: 600px) {
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Account Forms Area CSS */
.account_part .account_part_form {
    padding: 80px 70px;
    height: 600px;
    display: table;
}
@media (max-width: 991px) {
    .account_part .account_part_form {
        padding: 30px;
        height: 400px;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .account_part .account_part_form {
        padding: 20px;
        height: 400px;
    }
}
.account_part .account_part_form .account_part_form_iner {
    display: table-cell;
    vertical-align: middle;
}
@media (max-width: 991px) {
    .account_part .account_part_form {
        padding: 0;
    }
}
.account_part .account_part_form h3 {
    font-size: 26px;
    line-height: 36px;
    font-weight: 700;
    margin-bottom: 80px;
}
@media (max-width: 991px) {
    .account_part .account_part_form h3 {
        margin-bottom: 20px;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .account_part .account_part_form h3 {
        margin-bottom: 20px;
    }
}
/* Label flottant */
.account_part .form-group.floating-label {
	position: relative;
	margin-bottom: 1.5rem;
}
.account_part .form-group.floating-label .form-control {
	padding: 0.75rem 0.5rem ;
	height: auto;
	border-radius: 4px;
	border-color: #999;
	font-size: 16px;
	transition: all 0.3s ease;
}
.account_part .form-group.floating-label .form-control::placeholder {
	opacity: 0;
	transition: opacity 0.3s ease;
}
.account_part .form-group.floating-label label {
	position: absolute;
	left: 1rem;
	top: 1rem;
	font-size: 14px;
	color: #666;
	pointer-events: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: transparent;
	padding: 0 4px;
	z-index: 1;
	margin-bottom: 0;
}
.account_part .form-group.floating-label .form-control:focus + label,
.account_part .form-group.floating-label.has-value label {
	top: 0.2rem;
	left: 1.5rem;
	font-size: 10px;
	color: #666;
	font-weight: 500;
}
.account_part .form-group.floating-label .form-control:focus {
	border-color: #666;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
.account_part .form-group.floating-label .form-control:focus::placeholder {
	opacity: 0.5;
	color: #999;
}
.account_part .form-group.floating-label textarea.form-control {
	min-height: 100px;
	resize: vertical;
}
.account_part .form-group.floating-label .form-control.is-invalid {
	border-color: #dc3545;
}
.account_part .form-group.floating-label .form-control.is-invalid:focus {
	box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}
.account_part .form-group.floating-label .form-control.is-invalid:focus + label,
.account_part .form-group.floating-label.has-value .form-control.is-invalid + label {
	color: #dc3545;
}
.account_part .form-group.floating-label .form-control.is-valid {
	border-color: #28a745;
}
.account_part .form-group.floating-label .form-control.is-valid:focus {
	box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.account_part .form-group.floating-label .form-control.is-valid:focus + label,
.account_part .form-group.floating-label.has-value .form-control.is-valid + label {
	color: #28a745;
}

.account_part .creat_account {
    margin-top: 11px;
}
.account_part .creat_account label {
    color: #777777;
    font-size: 14px;
    margin-bottom: 0;
    margin-left: 10px;
}
.account_part .lost_pass {
    color: #777777;
    text-align: right;
    float: right;
}
.account_part .field-icon {
	float: right;
	margin-left: -25px;
	margin-top: -30px;
	position: relative;
	z-index:2;
}
.account_part .required {
    color: #e74c3c;
}
.p_star {
    display: inline-block;
    position: relative;
}
.p_star input {
    background: #fff;
}
.p_star input:focus + .placeholder {
    display: none;
}
.p_star .placeholder {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 30px;
    z-index: 1;
}
.p_star .placeholder::before {
    content: attr(data-placeholder);
    color: #777;
}
.p_star .placeholder::after {
    content: " *";
    color: tomato;
}

/* Ordres Area CSS */
.orders-minimal {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}
.orders-minimal h2 {
    color: #1f3b4d;
    margin-bottom: 20px;
    font-size: 24px;
}
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.order-card {
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s;
}
.order-card:hover {
    border-color: #9ca3af;
}
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-num {
    font-weight: 600;
    color: #111;
}
.order-date {
    color: #9ca3af;
    font-size: 13px;
}
.order-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.status-completed { background: #d1fae5; color: #065f46; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-cancelled,
.status-failed { background: #fee2e2; color: #991b1b; }
.order-total {
    font-weight: 600;
    color: #111;
}
.order-link {
    text-align: center;
    padding: 8px;
    background: #f4f4f4;
    color: #1f3b4d;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.order-link:hover {
    background: #f3f4f6;
}
.orders-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}
.orders-nav a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}
.orders-nav a:hover {
    background: #f4f4f4;
    border-color: #d1d5db;
}
.orders-nav span {
    color: #6b7280;
    font-size: 14px;
}
.no-orders {
    text-align: center;
    padding: 60px 20px;
}
.no-orders p {
    color: #6b7280;
    margin-bottom: 16px;
}
@media (max-width: 480px) {
    .orders-minimal {
        padding: 16px;
    }
    
    .order-card {
        padding: 12px;
    }
}

/* View Order Area CSS */
.order-compact {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}
.compact-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dddddd;
}
.back-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s;
}
.back-link:hover {
    background: #f3f4f6;
}
.header-info {
    flex: 1;
}
.header-info h2 {
    margin: 0 0 4px 0;
    font-size: 20px;
    color: #111;
    font-weight: 600;
}
.header-info .date {
    font-size: 13px;
    color: #9ca3af;
}
.status {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.status-completed { background: #d1fae5; color: #065f46; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-cancelled,
.status-failed { background: #fee2e2; color: #991b1b; }
.status-on-hold { background: #fed7aa; color: #92400e; }
.status-refunded { background: #e9d5ff; color: #6b21a8; }
.compact-section {
    background: white;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}
.compact-section h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: #111;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.payment-section {
    background: #f0f9ff;
    border-color: #bfdbfe;
}
.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.info-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.info-value {
    font-size: 16px;
    color: #111;
    font-weight: 600;
}
.compact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}
.compact-item:last-child {
    border-bottom: none;
}
.item-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f4f4f4;
}
.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.item-info strong {
    font-size: 15px;
    color: #111;
    font-weight: 600;
}
.item-info .qty {
    font-size: 13px;
    color: #6b7280;
}
.item-total {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}
.total-section {
    background: #f4f4f4;
    border: 2px solid #dddddd;
}
.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
   
}
.total-line span {
    font-size: 14px;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.total-line strong {
    font-size: 16px;
    color: #111;
    font-weight: 600;
}
.total-line.subtotal span,
.total-line.subtotal strong {
    font-size: 14px;
}
.total-line.shipping span,
.total-line.shipping strong {
    font-size: 14px;
}
.shipping-method {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    font-style: italic;
}
.total-line.tax span,
.total-line.tax strong {
    font-size: 14px;
}
.total-line.final-total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid #dddddd;
    border-bottom: none;
}
.total-line.final-total span {
    font-size: 18px;
    color: #111;
    font-weight: 600;
}
.total-line.final-total strong {
    font-size: 24px;
    color: #111;
    font-weight: 700;
}
.compact-section address {
    font-style: normal;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 12px;
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    color: #374151;
    font-size: 14px;
}
.contact-info i {
    color: #9ca3af;
    width: 16px;
}
.contact-info strong {
    font-weight: 500;
}
@media (max-width: 480px) {
    .order-compact {
        padding: 16px;
    }
    .compact-header {
        flex-wrap: wrap;
    }
    .header-info {
        order: 2;
        width: 100%;
    }
    .status {
        order: 3;
        width: 100%;
        text-align: center;
    }
    .back-link {
        order: 1;
    }
    .compact-section {
        padding: 16px;
    }
    .compact-item {
        flex-wrap: wrap;
    }
    .item-total {
        width: 100%;
        text-align: right;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #f3f4f6;
    }
    .total-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .total-line.final-total {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Downloads Area CSS */
.downloads-minimal {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}
.downloads-minimal h2 {
    color: #1f3b4d;
    margin-bottom: 20px;
    font-size: 24px;
}
.downloads-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.download-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem;
	border: 1px solid #dddddd;
	border-radius: 4px;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.download-item:hover {
	border-color: #999;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.download-info {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1;
}
.download-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f4f4;
	border-radius: 4px;
	color: #1f3b4d;
}
.download-icon i {
	font-size: 20px;
}
.download-details {
	flex: 1;
}
.download-name {
	font-size: 1rem;
	font-weight: 600;
	color: #333;
	margin: 0 0 0.5rem 0;
}
.download-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.8125rem;
	color: #999;
}
.download-meta span {
	display: flex;
	align-items: center;
}
.order-number {
	color: #666;
	font-weight: 500;
}
.order-date {
	color: #999;
}
.order-total {
	color: #333;
	font-weight: 600;
}
.download-actions {
	flex-shrink: 0;
}
.no-downloads-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem;
	text-align: center;
	color: #999;
	background: #f4f4f4;
	border-radius: 8px;
	margin-bottom: 1.5rem;
}
.no-downloads-message i {
	font-size: 40px;
}
.no-downloads-message p {
	margin: 0;
	font-size: 0.9375rem;
}
@media screen and (max-width: 640px) {
	.download-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	.download-info {
		width: 100%;
	}
	.download-actions {
		width: 100%;
	}
	.download-meta {
		flex-direction: column;
		gap: 0.25rem;
		align-items: flex-start;
	}
}

/* Payment Methodes Area CSS */
.payment-methods-minimal {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}
.payment-methods-minimal h2 {
    color: #1f3b4d;
    margin-bottom: 20px;
    font-size: 24px;
}
.payment-methods-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.payment-method-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	border: 1px solid #dddddd;
	border-radius: 4px;
	background: #fff;
	transition: border-color 0.2s;
}
.payment-method-item:hover {
	border-color: #999;
}
.payment-method-details {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.payment-method-main {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9375rem;
}
.payment-method-main .brand {
	font-weight: 600;
	color: #333;
}
.payment-method-main .last4 {
	color: #666;
}
.payment-method-main .default-tag {
	padding: 0.125rem 0.5rem;
	background: #f0f0f0;
	color: #333;
	font-size: 0.75rem;
	border-radius: 3px;
	font-weight: 500;
}
.expires {
	font-size: 0.8125rem;
	color: #999;
}
.payment-method-actions {
	display: flex;
	gap: 0.75rem;
}
.action-link {
	font-size: 0.875rem;
	color: #666;
	text-decoration: none;
	transition: color 0.2s;
}
.action-link:hover {
	color: #333;
	text-decoration: none;
}
.action-link.delete {
	color: #d9534f;
}
.action-link.delete:hover {
	color: #c9302c;
}
.no-methods-message {
	padding: 1.5rem;
	text-align: center;
	color: #999;
	background: #f4f4f4;
	border-radius: 4px;
	margin-bottom: 1.5rem;
}
.add-method-container {
	margin-top: 1rem;
}
@media screen and (max-width: 640px) {
	.payment-method-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	.payment-method-actions {
		width: 100%;
		justify-content: flex-start;
		padding-top: 0.5rem;
		border-top: 1px solid #eee;
	}
}

/* Button CSS */
.add-method-button,
.download-button,
.order-button,
.add-address {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	color: #fff !important;
	text-decoration: none;
    border-radius: 5px;
    background-color: #1f3b4d;
    border: 1px solid #1f3b4d;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-weight: 400;
    -webkit-transition: 0.5s;
    transition: 0.5s;
	cursor: pointer;
}
.add-method-button:hover,
.download-button:hover,
.order-button:hover,
.add-address:hover {
	transform: translateY(-1px);
	background-color: #7fafcc;
	border: 1px solid #7fafcc;
    color: #fff;
}
.add-method-button:active,
.download-button:active,
.order-button:active,
.add-address:active {
	transform: translateY(0);
}
@media screen and (max-width: 640px) {
	.add-method-button,
	.download-button,
	.order-button,
	.add-address {
		width: 100%;
		text-align: center;
	}
}