/* Contractor Auth & Dashboard Styles */

.awic-login-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.awic-login-form .awic-form-group {
    margin-bottom: 20px;
}

.awic-login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.awic-login-form input[type="text"],
.awic-login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.awic-login-form input[type="text"]:focus,
.awic-login-form input[type="password"]:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,124,186,0.2);
}

.awic-login-submit {
    width: 100%;
    padding: 12px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.awic-login-submit:hover {
    background: #006799;
}

.awic-login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.awic-rememberme {
    display: flex;
    align-items: center;
}

.awic-rememberme input {
    margin-right: 10px;
}

/* Register Card */
.awic-register-card {
    max-width: 400px;
    margin: 20px auto 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.awic-register-card h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #0a1f5c;
}

.awic-register-card p {
    margin: 0 0 20px;
    color: #555;
    font-size: 14px;
}

.awic-register-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: #a50000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.awic-register-button:hover {
    background: #8a0000;
    color: #fff;
}

/* Dashboard Styles */
.awic-dashboard {
    margin: 20px 0;
}

.awic-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.awic-dashboard-header h2 {
    margin: 0;
}

.awic-discount-info {
    background: #e7f3ff;
    border: 1px solid #b3d7ff;
    color: #0049bf;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.1em;
}

.awic-dashboard-nav {
    display: flex;
    gap: 10px;
}

.awic-dashboard-nav a {
    text-decoration: none;
    padding: 8px 16px;
    color: #555;
    border-radius: 4px;
    background: #f5f5f5;
    font-weight: 600;
    transition: all 0.3s ease;
}

.awic-dashboard-nav a:hover {
    background: #e5e5e5;
}

.awic-dashboard-nav a.active {
    background: #0049bf;
    color: #fff;
}

.awic-dashboard-section {
    margin-top: 20px;
}

.awic-dashboard .notice {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid #fff;
}

.awic-dashboard .notice-success {
    background: #edfaef;
    border-left-color: #4caf50;
    color: #2e7d32;
}

.awic-dashboard .notice-error {
    background: #fdf2f2;
    border-left-color: #f44336;
    color: #d32f2f;
}

.awic-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.awic-table th,
.awic-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.awic-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.awic-table tr:hover {
    background: #fafafa;
}

.button-small {
    padding: 5px 10px;
    font-size: 12px;
    background: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.button-small:hover {
    background: #e0e0e0;
}
