* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
}

.user-info {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
}

.section {
    padding: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-success {
    background: #48bb78;
    color: white;
    width: 100%;
    margin-top: 20px;
}

.btn-success:hover {
    background: #38a169;
}

.btn-success:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

#logoutBtn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

#logoutBtn:hover {
    background: rgba(255,255,255,0.3);
}

#map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-panel {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
}

#status {
    color: #667eea;
    font-size: 18px;
    margin-bottom: 15px;
}

#result {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #4a5568;
    font-size: 14px;
}

.location-list {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.location-list h4 {
    margin-bottom: 15px;
    color: #2d3748;
}

.location-item {
    padding: 12px;
    margin-bottom: 10px;
    background: #f7fafc;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

.location-item.in-range {
    border-left-color: #48bb78;
    background: #f0fff4;
}

.location-item.out-range {
    border-left-color: #f56565;
    background: #fff5f5;
}

.location-item h5 {
    color: #2d3748;
    margin-bottom: 5px;
}

.location-item p {
    font-size: 13px;
    color: #718096;
    margin: 3px 0;
}

.location-item .badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 5px;
}

.badge-meeting {
    background: #bee3f8;
    color: #2c5282;
}

.badge-workspace {
    background: #c6f6d5;
    color: #22543d;
}

.badge-other {
    background: #e2e8f0;
    color: #2d3748;
}

.notice {
    margin-top: 20px;
    padding: 15px;
    background: #fef5e7;
    border-left: 4px solid #f39c12;
    border-radius: 6px;
}

.notice p {
    font-size: 13px;
    color: #7f6003;
    line-height: 1.6;
}

#recordList {
    max-height: 500px;
    overflow-y: auto;
}

.record-item {
    padding: 15px;
    background: #f7fafc;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
}

.record-item.success {
    border-left-color: #48bb78;
}

.record-item.failed {
    border-left-color: #f56565;
}

.record-item h5 {
    color: #2d3748;
    margin-bottom: 8px;
}

.record-item p {
    font-size: 13px;
    color: #718096;
    margin: 3px 0;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #718096;
}

.error-message {
    background: #fff5f5;
    color: #c53030;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #f56565;
    margin-bottom: 20px;
}

.success-message {
    background: #f0fff4;
    color: #22543d;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #48bb78;
    margin-bottom: 20px;
}
