/* 従業員別入力ページ専用スタイル */

/* ログイン画面 */
.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.login-header i {
    font-size: 64px;
    color: #667eea;
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 14px;
}

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

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

.form-group-login label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-group-login label i {
    margin-right: 8px;
    color: #667eea;
}

.form-control-login {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.form-control-login:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.login-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin-top: 15px;
    font-size: 14px;
}

/* ヘッダー：ログインユーザー情報 */
.user-info {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* 従業員選択セクション */
.employee-selection {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.employee-select-container {
    max-width: 600px;
}

.employee-select-container label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.employee-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.employee-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 従業員情報 */
.employee-info {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
}

.info-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.info-details {
    font-size: 14px;
    opacity: 0.9;
}

/* 勤怠入力セクション */
.attendance-input {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 日付選択 */
.date-selection {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.date-selection label {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.date-input {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
    flex: 1;
    max-width: 250px;
}

.date-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 勤怠フォーム */
.attendance-form {
    display: grid;
    gap: 25px;
}

.form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.form-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: #667eea;
}

.time-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.time-input {
    flex: 1;
    min-width: 150px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 18px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.time-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-set {
    padding: 10px 16px;
    white-space: nowrap;
}

.btn-clear-small {
    padding: 10px 16px;
    white-space: nowrap;
}

/* アクションボタン */
.form-actions-center {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
}

/* 勤怠履歴 */
.attendance-history {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .login-header i {
        font-size: 48px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .employee-selection,
    .employee-info,
    .attendance-input,
    .attendance-history {
        padding: 20px;
    }

    .date-selection {
        flex-direction: column;
        align-items: stretch;
    }

    .date-input {
        max-width: none;
    }

    .time-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .time-input {
        min-width: 0;
    }

    .btn-set,
    .btn-clear-small {
        width: 100%;
    }

    .btn-large {
        width: 100%;
        padding: 14px 24px;
    }

    .form-section h3 {
        font-size: 16px;
    }

    .info-header h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 15px;
    }

    .time-input {
        font-size: 16px;
    }
}