/* CityU CS Web Application Template - Custom Styles */

/* Body and Container */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

.container-fluid {
    padding: 0;
}

.app-title-header{
    margin: 0px; 
    font-weight: 500; 
    font-size: 1.75rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Header Styles */
#cityu-header {
    background-color: #f8f9fa;
    border-bottom: 3px solid #981b49;
    padding: 15px 30px;
    margin: 0;
}

.cityu-top-icon img {
    height: 40px;
}

#cityu-header-deptname {
    margin: 0;
    padding: 5px 0;
}

#cityu-header-deptname a {
    text-decoration: none;
    color: #333;
}

#cityu-header-icons {
    margin: 10px 0;
    color: #981b49;
    font-size: 20px;
    font-weight: 500;
}

/* Main Content */
#cityu-main {
    min-height: 60vh;
    padding: 30px 0;
}

/* Jumbotron */
.jumbotron {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px;
    margin: 20px auto;
}

.jumbotron h2 {
    margin-bottom: 20px;
    font-weight: 500;
}

.jumbotron ul {
    margin: 20px 0;
}

.jumbotron li {
    margin: 10px 0;
    line-height: 1.6;
}

/* Buttons */
.btn-primary {
    background-color: #139af1;
    border-color: #139af1;
    padding: 10px 30px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #0d7bc4;
    border-color: #0d7bc4;
}

.btn-danger {
    padding: 10px 30px;
    font-size: 16px;
}

.btn-labeled {
    padding-left: 50px;
    position: relative;
}

.btn-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.15);
}

/* Panels */
.panel {
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.panel-heading {
    background-color: #981b49;
    color: white;
    border-radius: 6px 6px 0 0;
}

.panel-title {
    font-size: 18px;
    font-weight: 500;
}

/* Tables */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Page Header */
.page-header {
    border-bottom: 2px solid #981b49;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.page-header h2 {
    color: #981b49;
    font-weight: 500;
}

/* Labels */
.label {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Footer Styles */
#cityu-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px;
    margin-top: 50px;
}

#cityu-footer-links {
    margin-bottom: 10px;
}

#cityu-footer-links a {
    color: #3498db;
    text-decoration: none;
}

#cityu-footer-links a:hover {
    color: #2980b9;
    text-decoration: underline;
}

#cityu-footer-credits {
    font-size: 12px;
    color: #bdc3c7;
    margin-top: 10px;
}

#cityu-footer-icons img {
    height: 50px;
    opacity: 0.8;
}

#cityu-footer-icons img:hover {
    opacity: 1;
}

/* Alerts */
.alert {
    border-radius: 6px;
    margin: 20px 0;
}

/* List Group */
.list-group-item {
    border-left: 3px solid #981b49;
}

/* Responsive Design */
@media (max-width: 768px) {
    #cityu-header {
        padding: 10px 15px;
    }
    
    #cityu-header-icons {
        text-align: left !important;
        font-size: 16px;
    }
    
    .jumbotron {
        padding: 20px;
    }
    
    #cityu-footer {
        padding: 20px 15px;
    }
}

/* Print Styles */
@media print {
    .hidden-print {
        display: none !important;
    }
}
