﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*CUSTOM STYLING*/

/* Center all page content */
.page-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.center-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-box {
    width: 100%;
    max-width: 200px; /* adjust as needed */
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
}


/*Center login page vertically and horizontally*/
/* Position login page slightly down from the top */
.login-container {
    min-height: 65vh;
    display: flex;
    justify-content: center !important;
    padding-top: 5vh;
    background: white;
}


.login-box {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    background-color: #fff;
}

.login-logo {
    max-width: 180px;
    height: auto;
}

/* Sidebar navigation */
.sidebar {
    background: linear-gradient(to bottom, #000000, #6a11cb); /* black top → purple bottom */
    color: white;
    min-height: 100vh;
}

    /* General nav links inside sidebar */
    .sidebar .nav-link,
    .sidebar a {
        display: block; /* ensures full-width clickable area */
        padding: 0.5rem 1rem; /* consistent spacing */
        color: #ddd !important; /* light gray by default */
        text-decoration: none;
    }

        .sidebar .nav-link:hover,
        .sidebar a:hover {
            color: #fff !important; /* brighten on hover */
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

    /* Divider line styling */
    .sidebar hr {
        border-color: rgba(255, 255, 255, 0.2);
    }

/* Logo sizing */
.sidebar-logo {
    max-width: 80%;
    height: auto;
}

/* Align logout button from _LoginPartial with nav links */
.sidebar form,
.offcanvas-start form {
    margin: 0;
}

.sidebar form button,
.offcanvas-start form button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    color: #ddd !important;
    background: none;
    border: none;
}

.sidebar form button:hover,
.offcanvas-start form button:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/*BUTTON FORMATING*/
.btn-gradient {
    background: linear-gradient(90deg, #000000, #6a0dad);
    color: #fff;
    border: none;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
 }

/*CONTENT WRAPPER*/
.form-panel {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    #createFrame {
        margin-bottom: 3rem !important;
    }
}



