/**
 * Amazon Connect Agent Interface Styles
 * Professional styling for the CCP container and page layout
 */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* CCP Container styling */
#ccp-container {
  width: 400px;
  height: 800px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  
  #ccp-container {
    width: 100%;
    max-width: 400px;
    height: 90vh;
    max-height: 800px;
  }
}

/* Loading state (optional enhancement) */
#ccp-container:empty::before {
  content: 'Loading Amazon Connect...';
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #666;
  font-size: 16px;
}
