/**
 * ============================================================
 * STYLE.CSS - Custom CSS Styling for Authentication System
 * ============================================================
 */

:root {
    --primary-color: #23305d;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 0.375rem;
}
/* ============================================================
   ANIMATIONS - Alert & Toast
   ============================================================ */

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Alert Styling */
.alert {
    animation: fadeInDown 0.3s ease-out;
    border-radius: 0.5rem;
    border: 1px solid;
}

.alert.fade.show {
    animation: fadeInDown 0.3s ease-out !important;
}

.alert.fade:not(.show) {
    animation: fadeOut 0.3s ease-out;
    opacity: 0;
}

/* Toast Container */
#globalToastContainer .alert {
    animation: slideIn 0.3s ease-out;
    min-width: 300px;
}

#globalToastContainer .alert.fade:not(.show) {
    animation: slideOut 0.3s ease-out;
}

/* Alert colors improvement */
.alert-success {
    border-left: 4px solid var(--success-color);
    background-color: #d1f3d8;
}

.alert-danger {
    border-left: 4px solid var(--danger-color);
    background-color: #f8d7da;
}

.alert-warning {
    border-left: 4px solid var(--warning-color);
    background-color: #fff3cd;
}

.alert-info {
    border-left: 4px solid var(--info-color);
    background-color: #cfe2ff;
}

/* Close button styling */
.alert .btn-close {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* ============================================================
   GENERAL STYLES
   ============================================================ */

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ============================================================
   FORM STYLES
   ============================================================ */

.form-control,
.form-select {
    border-color: #dee2e6;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control.is-valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5h-.4Z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Input Group */
.input-group {
    position: relative;
}

.input-group .btn-outline-secondary {
    color: var(--secondary-color);
    border-color: #dee2e6;
}

.input-group .btn-outline-secondary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* ============================================================
   BUTTON STYLES
   ============================================================ */

.btn {
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #5c636a;
    border-color: #565e64;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-check:checked + .btn-outline-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ============================================================
   CARD STYLES
   ============================================================ */

.card {
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem;
}

/* ============================================================
   ALERT STYLES
   ============================================================ */

.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* ============================================================
   PASSWORD STRENGTH METER
   ============================================================ */

.password-strength {
    height: 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.password-strength.very-weak {
    background-color: #f8d7da;
    color: #721c24;
}

.password-strength.weak {
    background-color: #fff3cd;
    color: #856404;
}

.password-strength.medium {
    background-color: #d1ecf1;
    color: #0c5460;
}

.password-strength.strong {
    background-color: #d4edda;
    color: #155724;
}

/* ============================================================
   ACCORDION STYLES
   ============================================================ */

.accordion {
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
}

.accordion-button {
    font-weight: 500;
    color: var(--dark-color);
    background-color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.accordion-button:hover {
    background-color: #f8f9fa;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 1.5rem;
    background-color: #fff;
}

.accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
}

.accordion-item:last-child {
    margin-bottom: 0;
}

/* ============================================================
   MODAL STYLES
   ============================================================ */

.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

/* ============================================================
   PROGRESS BAR STYLES
   ============================================================ */

.progress {
    background-color: #e9ecef;
    border-radius: var(--border-radius);
    height: 1.5rem;
}

.progress-bar {
    background-color: var(--success-color);
    transition: width 0.3s ease;
}

.progress-bar.bg-success {
    background-color: var(--success-color) !important;
}

.progress-bar.bg-warning {
    background-color: var(--warning-color) !important;
    color: var(--dark-color);
}

.progress-bar.bg-danger {
    background-color: var(--danger-color) !important;
}

/* ============================================================
   BADGE STYLES
   ============================================================ */

.badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
}

.badge.bg-success {
    background-color: var(--success-color) !important;
}

.badge.bg-danger {
    background-color: var(--danger-color) !important;
}

.badge.bg-warning {
    background-color: var(--warning-color) !important;
    color: var(--dark-color);
}

.badge.bg-info {
    background-color: var(--info-color) !important;
}

.badge.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        border-radius: var(--border-radius) !important;
        margin-bottom: 0.5rem;
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .accordion-button {
        font-size: 0.95rem;
    }

    .form-label {
        font-size: 0.9rem;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.min-vh-100 {
    min-height: 100vh;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.text-muted {
    color: #6c757d !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-info {
    color: var(--info-color) !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.text-center {
    text-align: center;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.d-grid {
    display: grid !important;
}

.gap-2 {
    gap: 0.5rem;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.me-2 { margin-right: 0.5rem; }
.ms-2 { margin-left: 0.5rem; }

.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }

.rounded {
    border-radius: var(--border-radius);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in-up {
    animation: slideInUp 0.3s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.3s ease-out;
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* ============================================================
   SYSTEM ALERT MODAL STYLES - alert() muadili
   ============================================================ */

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.show .modal-dialog {
    animation: slideInCenter 0.3s ease-out;
}

@keyframes slideInCenter {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modal content styling */
.modal-content {
    border-radius: 0.75rem;
    backdrop-filter: blur(5px);
}

/* Modal buttons */
.modal-footer .btn {
    font-weight: 600;
    min-width: 100px;
    transition: all 0.2s ease;
}

.modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-footer .btn:active {
    transform: translateY(0);
}

/* Icon styling in modal */
.modal-body i {
    display: inline-block;
    animation: popIn 0.4s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
    .no-print {
        display: none !important;
    }

    body {
        background-color: white;
    }

    .card {
        page-break-inside: avoid;
    }
}









.login-main{
	height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	justify-content: end;
}
.login-img{
    width: 100%;
    height: 100vh;
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
}
.login-img img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
.login-main-icerik{
	padding: 2vw 3vw;
	background-color: rgba(255,255,255,1);
	border-radius: 10px 0 0 10px;
	min-width: 40%;
}
.login-logo img{
	width: 250px;
}

.bg-primary{
	background-color: #23305d!important;
}
.lisanssiz-uretici-table{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.lisanssiz-signup{
	/*background-image: url("../images/login-bg2.jpg");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
    background-position: center;*/
	min-height: 100vh;
}
.lisanssiz-signup-icerik{
	min-height: 100vh;
	background-color: #fff;
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.lisanssiz-signup > .row{
	width: 100%;
	margin: 0;
}
.yan-logo{
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
	background-image: url("../images/login-bg3.jpg");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
    background-position: center;
}
.yan-logo img{
	max-width: 100%;
	width: 50%;
	filter: brightness(0) invert(1);
}
.form-check-input[type=checkbox]{
	border-radius: 50%;
	border-color: #1a76fd;
}
.form-check{
    background: #fff;
    padding: 0.5em 2em;
	border-radius: 5px;
}
.welcome-section p{
	font-size: 1.2rem;
}
@media (max-width: 1199px) {
	.login-main-icerik{
		min-width: 100%;
		width: 100%;
		padding: 20px;
		border-radius: 10px;
	}
	.modal-dialog-centered{
		margin: auto;
	}
	.lisanssiz-signup-icerik{
		z-index: 1;
		padding: 20px;
	}
}
@media screen and (min-width:1199px) and (max-width:1601px){

	.login-bg-alt{
		width: 200px;
	}
	
}

