/* public/css/corporate-style.css */

/* General Styles for Homepage */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
}

.corp-header {
    background-color: #fff;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.corp-header .logo {
    height: 50px;
    width: auto;
    margin-right: 20px;
}

.corp-header .title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.corp-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
    padding: 40px;
    background: url("https://www.transparenttextures.com/patterns/cubes.png");
}

.corp-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.corp-content h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #004085;
}

.corp-actions .btn {
    margin: 10px;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-corp {
    background-color: #007bff;
    color: #fff;
}

.btn-primary-corp:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-success-corp {
    background-color: #28a745;
    color: #fff;
}

.btn-success-corp:hover {
    background-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-warning-corp {
    background-color: #ffc107;
    color: #212529;
}

.btn-warning-corp:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dropdown for Logins */
.login-dropdown {
    position: relative;
    display: inline-block;
}

.login-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
}

.login-dropdown:hover .dropdown-content {
    display: block;
}

.login-dropdown .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.login-dropdown .dropdown-content a:hover {
    background-color: #f1f1f1;
}

.corp-footer {
    background-color: #343a40;
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.corp-footer a {
    color: #007bff;
    text-decoration: none;
}

.corp-footer a:hover {
    text-decoration: underline;
}

/* Auth Page Specific Styles */
body.corp-auth {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.corp-auth .auth-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 100%;
    margin: 20px;
}

.corp-auth .auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.corp-auth .auth-header .logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.corp-auth .auth-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* Form styling */
.corp-auth .form-group {
    margin-bottom: 20px;
}

.corp-auth .form-control {
    width: 100%;
    height: 50px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid #e1e8ed;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.corp-auth .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.corp-auth .form-control.is-invalid {
    border-color: #dc3545;
}

/* Button styling */
.corp-auth .btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.corp-auth .btn-block {
    display: block;
    width: 100%;
}

.corp-auth .btn-primary-corp {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
}

.corp-auth .btn-primary-corp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Grid system */
.corp-auth .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.corp-auth .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

.corp-auth .align-items-center {
    align-items: center;
}

/* Alert styling */
.corp-auth .alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.corp-auth .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.corp-auth .alert ul {
    margin: 0;
    padding-left: 20px;
}

.corp-auth .alert li {
    margin-bottom: 5px;
}

/* Invalid feedback */
.corp-auth .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 14px;
    color: #dc3545;
}

/* Remember me styling */
.corp-auth .remember-me {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.corp-auth .remember-me input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.corp-auth .remember-me label {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    cursor: pointer;
}

/* Footer styling */
.corp-auth .auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
}

.corp-auth .auth-footer a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.corp-auth .auth-footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Utility classes */
.corp-auth .mb-3 {
    margin-bottom: 1rem;
}

.corp-auth .d-block {
    display: block;
}

.corp-auth .font-weight-normal {
    font-weight: 400;
}
