/* CSS fixes for Internet Explorer 8 and older */
/* This file is loaded only for IE8 and older browsers */

/* Basic layout fixes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Clearfix for older browsers */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* Table fixes */
table {
    border-collapse: collapse;
    width: 100%;
}

/* Form fixes */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    background: #fff;
}

/* Button fixes */
button,
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: #667eea;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

button:hover,
.btn:hover {
    background: #5568d3;
}

/* Navigation fixes */
nav {
    display: block;
}

nav a {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
}

/* Card fixes */
.card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
}

/* Alert fixes */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

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

/* Grid fallback using floats */
.dashboard-stats {
    width: 100%;
}

.dashboard-stats > * {
    float: left;
    width: 23%;
    margin: 1%;
}

/* Flexbox fallback */
.flex-container {
    display: block;
}

.flex-container > * {
    display: inline-block;
    vertical-align: top;
}

